<template>
	<!-- 我的-签到-规则 -->
	<view class="Check-inRules public">
		<view class="title">
			签到规则说明
		</view>
		<view class="main" v-html="arr">
			<!-- 积分规则说明积分规则说明积分规则说明积分积分规规则说明积分规则说明 -->
		</view>
	</view>
</template>

<script>
	const $api = require('@/utils/request.js').API
	export default {
		data(){
			return {
				arr: []
			}
		},
		onLoad() {
			this.postCheckInRules()
		},
		methods: {
			postCheckInRules(){
				$api.postCheckInRules({}).then(res => {
					if(res.data.code == 0) {
						this.arr = res.data.data
					}
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.Check-inRules {
		background: #FDFDFD;
		.title {
			width: 688rpx;
			text-align: center;
			font-size: 36rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #161415;
			margin: auto;
			padding: 45rpx 0 41rpx 0;
		}
		.main {
			width: 688rpx;
			// height: 65rpx;
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: 400;
			color: #161415;
			margin: auto;
		}
	}
</style>